package com.netcracker.studportal.server.dao;

import java.util.Collection;

import com.netcracker.studportal.server.model.User;

public interface UserDAO {
	public void Add(User user,String password) 							throws Exception;
	public void updateUserPassword(User user,String password) 			throws Exception;
	public User getById(Long id) 										throws Exception;
	public void DeleteUser(User user)									throws Exception;
	public Collection<User> getAll() 									throws Exception;
	public User getUserByLoginPass(String login, String password) 		throws Exception;
	public Long getUserID(String login, String password) 				throws Exception;
}
